package designPattern.factory.factorymethod;

import designPattern.factory.simpleFactory.common.OrderPizza;

//相当于一个客户端
public class PizzaStore {
    public static void main(String[] args) {
        //创建北京口味的各种Pizza
        String loc = "bj";
        if(loc.equals("bj")){
            new BJOrderPizza();
        }else if(loc.equals("ld")){
            new LDChessPizza();
        }
    }
}
